# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
_pkgname=pygdbmi
pkgname=py3-$_pkgname
pkgver=0.9.0.3
pkgrel=0
pkgdesc="Get Structured Output from GDB's Machine Interface"
url="https://github.com/cs01/pygdbmi"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

check() {
	python3 setup.py check
}

sha512sums="400859811e9384bff0e9602c8c41471489d074052301cf30f5cda3950da9badf20d62bf3a8956e837426c75ea9d0ce80cb0e4986749819cd8e4df5156c80e12d  pygdbmi-0.9.0.3.tar.gz"
